<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>elena_index</title>
<link rel="stylesheet" type="text/css"
	href="js/ext/resources/css/ext-all.css" />
	
<link rel="stylesheet" type="text/css" href="style/mystyle.css" />
<script type="text/javascript" src="js/ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="js/ext/ext-all.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<style>
	.backgroud_1{ 
   background:url(image/backgroud_1.jpg ) no-repeat left top; 
   height:282px; 
   width:460px;
} 
#top{
	background:url(image/banner-news.jpg) repeat-x left center  #0000ff;
	height:75px;
	width:100%;
}

</style>

<script>/*
	Ext.onReady(function() {
		var top_panel = new Ext.Panel({
			region : 'north',
			margins : '5 5 0 5',
			cls : 'empty',
			//bodyStyle:'background:#f1f1f1',
			html : 'top_panel',
			height : 80
		});

		var item1 = new Ext.Panel({
			title : 'My Cloud Store',
		});


		var item2 = new Ext.Panel({
			title : 'Data Query'
		});

		var item3 = new Ext.Panel({
			title : 'Data Migration',
			iconCls : 'nav'
		});

		var item4 = new Ext.Panel({
			title : 'Meta Data'
		});

		var item5 = new Ext.Panel({
			collapsible : true,
			title : 'System Tools',
			iconCls : 'settings',
			autoScroll : true,
		});

		var item6 = new Ext.Panel({
			title : 'System Admin'
		});

		var navigation_panel = new Ext.Panel({
			layoutConfig : {
				animate : true
			},
			region : 'west',
			collapsible : true,
			margins : '5 0 5 5',
			collapsible : true,
			split : true,
			width : 200,
			maxSize : 400,
			minSize : 175,
			layout : 'accordion',
			defaults : {
				html : '&lt;empty panel&gt;',
				cls : 'empty'
			},
			// 			items : [ item1, item2, item3, item4, item5, item6,tree ]
			items : [ tree ]
		});

		var detail_panel = new Ext.TabPanel({
			region : 'center',
			margins : '5 5 5 0',
			items : [ {
				contentEl : 'center1',
				title : 'Close Me',
				closable : true,
				autoScroll : true
			}, {
				contentEl : 'center2',
				title : 'Center Panel',
				autoScroll : true,
				url : "http://www.baidu.com"
			} ]
		});

		var viewport = new Ext.Viewport({
			layout : 'border',
			items : [ top_panel, navigation_panel, detail_panel ]
		});
	});*/
</script>
</head>
<body>
	<div id='top'>
		<span id="title"></span><%--
	--%></div>
</body>
</html>
<script>
function logout(){
	var requestConfig = {
			url:'login?kind=logout',
			params:{username:username,password:password,url:url,name:name,database:database},
			callback:function(option,success,response){
				var msg = [success,option.customer,response.responseText];
				alert(msg);
		//grid.getStore().reload();
			}
		}
		 Ext.Ajax.request(requestConfig);
}
</script>
